package com.zp.pattern.command;
/**
 * 请求者角色：负责调用命令对象执行请求;
 */
public class Invoker
{
	private Command command;
	
	public Invoker(Command command)
	{
		this.command = command;
	}
	
	public void doInvokerAction()
	{
		command.execute();
	}
}
